for x in range(1,51):
    x**=x
    print(x)
